import car_stop from './carStop'

const base = [
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home/home')
  },
  {
    path: '/driverList',
    name: 'driverList',
    component: () => import('@/views/driverList/driverList'),
    meta: {
      title: '备案列表'
    }
  },
  {
    path: '/detail',
    name: 'detail',
    component: () => import('@/views/driverList/detail'),
    meta: {
      title: '备案详情'
    }
  },
  {
    path: '/workers',
    name: 'workers',
    component: () => import('@/views/workers/workers'),
    meta: {
      title: '工作者扫码'
    }
  },
  {
    path: '/sterilization',
    name: 'sterilization',
    component: () => import('@/views/sterilization/sterilization'),
    meta: {
      title: '消杀'
    }
  },
  {
    path: '/sterilizationDetail',
    name: 'sterilizationDetail',
    component: () => import('@/views/sterilization/sterilizationDetail'),
    meta: {
      title: '消杀详情'
    }
  },
  {
    path: '/selectOut',
    name: 'selectOut',
    component: () => import('@/views/home/selectOut'),
    meta: {
      title: '来返货车备案'
    }
  },
  {
    path: '/audit',
    name: 'audit',
    component: () => import('@/views/workers/audit'),
    meta: {
      title: '备案审核'
    }
  },
  {
    path: '/workersInfo',
    name: 'workersInfo',
    component: () => import('@/views/workers/workersInfo'),
    meta: {
      title: '备案审核'
    }
  },
  {
    path: '/closed',
    name: 'closed',
    component: () => import('@/views/units/closed')
  },
  {
    path: '/closedList',
    name: 'closedList',
    component: () => import('@/views/units/closedList'),
    meta: {
      title: '收货单位列表'
    }
  },
  {
    path: '/closedInfo',
    name: 'closedInfo',
    component: () => import('@/views/units/closedInfo'),
    meta: {
      title: '收货单位详情'
    }
  }
]
base.push.apply(base, car_stop)
export default base
